﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Categorias.aspx.cs" Inherits="Ticksys_ABM_Categorias_Categorias" MasterPageFile="~/Ticksys/MasterPage.master"%>

<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="ContentPlaceHolder1">
    
    <div style="height: 7px; width: 463px; float:left">
        
    </div>
    <div style="width: 123px; float:left"  >
    &nbsp;<asp:LinkButton ID="Lbl_CategoriaNuev" runat="server" Text="Nueva Categoria" 
            style="color: black;" CssClass="style1" 
            PostBackUrl="~/Ticksys/ABM/Categorias/Alta_Categorias.aspx" ></asp:LinkButton>
    </div>
    <div style="float:left">
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
        Height="100px" Width="536px" 
        EmptyDataText="No hay Categorias para mostrar." CellPadding="4" 
            ForeColor="#333333" GridLines="None">
        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
        <Columns>
            <asp:TemplateField HeaderText="Editar">
                <ItemTemplate>
                   <asp:ImageButton ID="btn_Editar" runat="server" Height="28px" Width="34px" 
                        ImageUrl="~/Ticksys/Imagenes/1372966351_desktop.png" CommandArgument='<%#Eval("idCategoria") %>'/>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="Categoria" HeaderText="Categoria" />
            <asp:BoundField DataField="Fechaalta" HeaderText="Fecha alta" />
            
        </Columns>
        <EditRowStyle BackColor="#999999" />
        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <HeaderStyle BackColor="#5D7B9D" BorderColor="#FFFF99" Font-Bold="True" 
            ForeColor="White" />
        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
        <SortedAscendingCellStyle BackColor="#E9E7E2" />
        <SortedAscendingHeaderStyle BackColor="#506C8C" />
        <SortedDescendingCellStyle BackColor="#FFFDF8" />
        <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
    </asp:GridView>
    </div>
    
</asp:Content>
